package com.saibo.spider.pojo;

import com.saibo.spider.utils.StringUtil;

public class SinaUserInfo {
	String rowkey; // rowkey
	String nick_name;// 用户名
	String url;// 地址
	String user_img; // 用户头像
	int authentication_type = 0;// 认证类型，1蓝V，2黄V
	String authentication_msg;// 认证信息
	int user_gender = 2;// 用户性别，0女，1男，2未知
	int user_member = 0;// 是否会员，0否，1是
	String brief = "暂无简介";// 简介
	int follow_count = 0;// 关注数
	int fans_count = 0;// 粉丝数
	int weibo_count = 0;// 微博数
	String area;// 地区
	String crawlerDate;

	public String getCrawlerDate() {
		return crawlerDate;
	}

	public void setCrawlerDate(String crawlerDate) {
		this.crawlerDate = crawlerDate;
	}

	public String getRowkey() {
		return rowkey;
	}

	public void setRowkey(String rowkey) {
		this.rowkey = rowkey;
	}

	public String getNick_name() {
		return nick_name;
	}

	public void setNick_name(String nick_name) {
		this.nick_name = nick_name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUser_img() {
		return user_img;
	}

	public void setUser_img(String user_img) {
		this.user_img = user_img;
	}

	public int getAuthentication_type() {
		return authentication_type;
	}

	public void setAuthentication_type(int authentication_type) {
		this.authentication_type = authentication_type;
	}

	public String getAuthentication_msg() {
		return authentication_msg;
	}

	public void setAuthentication_msg(String authentication_msg) {
		this.authentication_msg = authentication_msg;
	}

	public int getUser_gender() {
		return user_gender;
	}

	public void setUser_gender(int user_gender) {
		this.user_gender = user_gender;
	}

	public int getUser_member() {
		return user_member;
	}

	public void setUser_member(int user_member) {
		this.user_member = user_member;
	}

	public String getBrief() {
		return brief;
	}

	public void setBrief(String brief) {
		this.brief = brief;
	}

	public int getFollow_count() {
		return follow_count;
	}

	public void setFollow_count(int follow_count) {
		this.follow_count = follow_count;
	}

	public int getFans_count() {
		return fans_count;
	}

	public void setFans_count(int fans_count) {
		this.fans_count = fans_count;
	}

	public int getWeibo_count() {
		return weibo_count;
	}

	public void setWeibo_count(int weibo_count) {
		this.weibo_count = weibo_count;
	}

	public String getArea() {
		if (StringUtil.isNullOrEmpty(area))
			return "全国";
		return area;
	}

	public void setArea(String area) {
		if (StringUtil.isNullOrEmpty(area))
			this.area = "全国";
		else
			this.area = area;
	}
}
